/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package GUI;

import java.awt.BorderLayout;
import java.awt.GridLayout;
import java.awt.HeadlessException;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;

/**
 *
 * @author TeslaSolari
 */
public class MainMenu {

    public void runGUI() {
    }

    public void hideGUI() {
    }
}

class mainMenuC extends JFrame implements ActionListener {

    JButton addUser;
    JButton logout;
    JButton changePass;
    JPanel panel;

    public mainMenuC() {
        addUser = new JButton("Add new user");
        logout = new JButton("Logout");
        changePass = new JButton("Reset password");
        
        panel = new JPanel(new GridLayout(3, 1));
        panel.add(addUser);
        panel.add(logout);
        panel.add(changePass);
        add(panel, BorderLayout.CENTER);
        addUser.addActionListener(this);
        changePass.addActionListener(this);
        logout.addActionListener(this);
        setTitle("MainMenu");
    }
    public void actionPerformed(ActionEvent e)
    {
    
    }
}